github.com/gotd/td/mtproto.Conn.session (method)

7 uses

	github.com/gotd/td/mtproto (current package)
		bind.go#L46: 	s := c.session()
		connect.go#L51: 	session := c.session()
		handle_session_created.go#L39: 	if err := c.handler.OnSession(c.session()); err != nil {
		new_encrypted_msg.go#L15: 	s := c.session()
		read.go#L53: 	session := c.session()
		read.go#L115: 	if c.session().ID == 0 {
		session.go#L15: func (c *Conn) session() Session {